package cn.itcast;

import java.io.Serializable;

public class Goods implements Serializable {

    private String goodsName;

    private Double price;

    private String image;

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    @Override
    public String toString() {
        return "Goods{" +
                "goodsName='" + goodsName + '\'' +
                ", price=" + price +
                ", image='" + image + '\'' +
                '}';
    }
}
